package com.edu.mapper;

import com.edu.bean.Book;

import java.util.List;

public interface BookMapper {
  
    Book selectBookById(int bookId);

    Book selectBookByName(String bookName);

    List<Book> selectAllBook();

    int insertBook(Book book);

    int deleteBook(int bookId);

    int updateBook(Book book);

}
